package com.zhiyou.app.shop.website.dao.pojo;



import java.sql.Timestamp;

/**
 * StockDeal entity. @author MyEclipse Persistence Tools
 */

public class StockDeal implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private String id;
	private String userId;
	private String type;
	private Long price;
	private Integer quantity;
	private Long fee;
	private Timestamp createDate;
	private Long poundage;
	private Long shares;
	private Long bonus;
	private Long customs;
	private String stockTradeId;

	// Constructors

	/** default constructor */
	public StockDeal() {
	}

	/** minimal constructor */
	public StockDeal(String userId) {
		this.userId = userId;
	}

	/** full constructor */
	public StockDeal(String userId, String type, Long price, Integer quantity,
			Long fee, Timestamp createDate, Long poundage, Long shares,
			Long bonus, Long customs, String stockTradeId) {
		this.userId = userId;
		this.type = type;
		this.price = price;
		this.quantity = quantity;
		this.fee = fee;
		this.createDate = createDate;
		this.poundage = poundage;
		this.shares = shares;
		this.bonus = bonus;
		this.customs = customs;
		this.stockTradeId = stockTradeId;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getPrice() {
		return this.price;
	}

	public void setPrice(Long price) {
		this.price = price;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Long getFee() {
		return this.fee;
	}

	public void setFee(Long fee) {
		this.fee = fee;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Long getPoundage() {
		return this.poundage;
	}

	public void setPoundage(Long poundage) {
		this.poundage = poundage;
	}

	public Long getShares() {
		return this.shares;
	}

	public void setShares(Long shares) {
		this.shares = shares;
	}

	public Long getBonus() {
		return this.bonus;
	}

	public void setBonus(Long bonus) {
		this.bonus = bonus;
	}

	public Long getCustoms() {
		return this.customs;
	}

	public void setCustoms(Long customs) {
		this.customs = customs;
	}

	public String getStockTradeId() {
		return stockTradeId;
	}

	public void setStockTradeId(String stockTradeId) {
		this.stockTradeId = stockTradeId;
	}

}